<template>
  <div>
    <Contents :styles="{ background: 'white' }">
      <Bargain :bargain="bargainList"></Bargain>
    </Contents>
  </div>
</template>

<script>
import Contents from "../components/content/contents"
import Bargain from "../components/bargain/bargain";
export default {
  components: {
    Contents,
    Bargain,
  },
  data() {
    return {
      bargainList: [],
    };
  },
  mounted() {
    //砍价列表数据
    this.$Api.required().then((res) => {
      console.log(res.data.data);
      this.bargainList=res.data.data
    });
  },
};
</script>

<style>
</style>